package com.blb.educourseservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blb.educourseservice.mapper.CourseOrientationMapper;
import com.blb.educourseservice.mapper.CourseTypeMapper;
import com.blb.educourseservice.service.ICourseOrientationService;
import com.blb.educourseservice.service.ICourseTypeService;
import com.blb.pojo.CourseOrientation;
import com.blb.pojo.CourseType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CourseOrientationServiceImpl extends ServiceImpl<CourseOrientationMapper, CourseOrientation> implements ICourseOrientationService {
    @Resource
    private CourseOrientationMapper courseOrientationMapper;
    @Override
    public List<CourseOrientation> getByParent(int id) {

        return courseOrientationMapper.getByParent(id);
    }
}
